#ifndef __INKLUDE_C_UDP_SERVER_H__
#define __INKLUDE_C_UDP_SERVER_H__

#include <Inklude/Inklude.h>
#include <Inklude/ikCUdpClient.h>
#include <memory>


namespace Inklude
{
    // Currently Deprecated
    // UDP Server should have more functionalities.
    // Currently no plan for updating
    class INKLUDE_CLASS_EXPORT ikCUdpServer
    {
    public:
        ikCUdpServer();
        ~ikCUdpServer();
        void OpenServer(int nPort);
        ikCUdpClientPtr CheckForNewConnection(INKLUDE_UDP Mode);

    protected:
        void _init();
        ikCUdpClientPtr m_pUdpClient;
        int m_nPort;

    private:
    };
}

#endif // __INKLUDE_C_UDP_SERVER_H__

